package com.xgry.bpm.api.base.menu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.alibaba.fastjson.annotation.JSONField;

/**
 * <p>
 * TBMenu对象
 * </p>
 *
 * @author admin
 * @since 2020-07-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ToString
@TableName("t_b_menu")
@ApiModel(value = "TBMenu对象", description = "菜单表")
public class TBMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "按钮主键")
    @ExcelIgnore
    @TableId(value = "id", type = IdType.AUTO)
    @JSONField(name = "id")
    private Integer id;

    @ApiModelProperty(value = "乐观锁")
    @ExcelIgnore
    @Version
    @JSONField(name = "version")
    private Integer version;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "菜单名称")
    private String vMenuName;

    @ApiModelProperty(value = "菜单url")
    private String vMenuUrl;

    @ApiModelProperty(value = "菜单图标")
    private String vMenuIcon;

    @ApiModelProperty(value = "菜单状态")
    private String vMenuState;

    @ApiModelProperty(value = "父级菜单id")
    private String vMenuPid;

    @ApiModelProperty(value = "所属模块fk")
    private String vModulerId;

    @ApiModelProperty(value = "系统标识fk")
    private String vSystemId;

    @ApiModelProperty(value = "菜单编码")
    private String vMenuCode;

    @ApiModelProperty(value = "菜单排序号")
    private Integer iMenuSort;

    @ApiModelProperty(value = "")
    private String vMenuPName;

    @ApiModelProperty(value = "")
    private String vModulerPName;

    @ApiModelProperty(value ="门户编码")
    private String vGatewayCode;


}